package com.foreknow.eldclient.service;

import com.foreknow.eldclient.po.Business;

import java.util.List;

public interface BusinessService {
    Business getBusinessById(int businessId);
    List<Business> listBusinessByOrderTypeId(int OrderTypeId);
    List<Business> listAllBusiness();
    List<Business> listBusinessBykeyword(String keyword) throws Exception;
    Integer registerBusiness(Business business);
    Business getBusinessByIdByPass(String businessId, String password);
    int updateBusiness(Business business);
    int updateTotalSales(Integer orderId) throws Exception;
    List<Business> sales_ranking();
    Business getBusinessByFId(int foodId);
    List<Business> getBusinessByFuzzy(String keyword) throws Exception;
}
